<?php
include "includes/ui.php";

echo headerHTML("stock", "สต๊อกสินค้า/พัสดุ");
?> 

<!-- Live Stats -->
<div class="row-fluid">

    <!-- Pie: Box -->
    <div class="span12">

        <!--  : Top Bar -->
        <div class="top-bar">
            <h3><i class="icon-cog"></i> สต๊อกสินค้า/พัสดุ</h3>
        </div>
        <!-- /  : Top Bar -->
        <!-- Pie: Content -->
        <div class="well no-padding" >
            <div class="span12">
                <div class="row-fluid">
                    <form class="form-horizontal">
                        <div class='span12'>

                            <div class="control-group" style='border-bottom:0px;'>
                                <label class="control-label" style='' for="inputName"><i class="icon-double-angle-right"></i>รายชื่อพัสดุ </label>
                                <div class="controls">
                                    <input type="text"   placeholder=""  id='txtName'   class="span2">
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <span class="help-inline" style='font-weight:bold;margin-left:30px;'> ประเภทพัสดุ</span>
                                    &nbsp;&nbsp;
                                    <select class="no-margin span8" id='cboType'  style="width:180px !important;">
                                    </select>
									
									  <span class="help-inline" style='font-weight:bold;margin-left:30px;'> จำนวนในสต๊อก</span>
                                    &nbsp;&nbsp;
										<select class="span2" id='cboCompare' style='width:80px !important;'>
	                                	<option value="0" selected> <= </option>	
	                                	<option value="1"  >=</option>	
	                                	<option value="2"  >>=</option>	
                                	</select>
                                    <input type="text"   placeholder=""  id='txtAmt' maxlength="3"  class="span1">
                                    <button class="btn btn-inverse" id='btnSearch' type='button' style='margin-left:50px;height:30px;' rel="tooltip" title=""   data-original-title="ค้นหาข้อมูล"><i class="icon-search"></i></button> 
                                </div>
                            </div>
 
                        </div>
                    </form>
                </div>
            </div>
            <table class="data-table" id='resultData'>
                <thead style='border-top:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;'> 
                    <tr >
                        <th style='color:#333 !important;width:40px !important;'>#</th>
                        <th style='display:none;'>0</th>
                        <th style='display:none;'>0</th>
                        <th style='color:#333 !important;width:60px !important;' class="text-center">รหัส</th>
                        <th style='color:#333 !important;' class="text-center">ชื่อรายการพัสดุ</th>

                        <th style='color:#333 !important;width:180px !important;' class='text-center'>ประเภทพัสดุ</th>

                        <th style='color:#333 !important;width:120px !important;' class="center">จำนวนสต๊อก</th>
                        <th style='color:#333 !important;width:120px !important;' class="center">ราคา/หน่วย</th>
                        <th style='color:#333 !important;width:120px !important;' class="text-right">รวมเงิน</th>
                        <th style='color:#333 !important;width:80px !important;' class="text-center">แก้ไข</th>
                    </tr>
                </thead>
                <tbody>
                    <!--tr class="odd gradeX">
                        <td>1</td>
                        <td  class='left'>เสื้อเชิ้ต S</td>
                        <td  class='center'>สินค้า</td>
                        <td class='center'>15</td>
                        <td class='center'>100</td>
                        <td class='center'>150</td>

                    </tr-->
                    
                </tbody>

            </table>

        </div>
        <!-- / Pie: Content -->

    </div>
    <!-- / Pie -->

</div>
<!-- / Live Stats -->

<?php
echo footerHTML();
?>

<!-- Javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src='js/jquery.hotkeys.js'></script>
<!--script src='js/fullcalendar.min.js'></script-->
<script src="js/jquery-ui-1.10.2.custom.min.js"></script>
<script src="js/jquery.pajinate.js"></script>
<!--script src="js/jquery.prism.min.js"></script-->
<script src="js/jquery.dataTables.min.js"></script>

<script src="js/jquery.flot.resize.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-wysiwyg.js"></script>
<!--script src="js/bootstrap-typeahead.js"></script-->
<script src="js/jquery.easing.min.js"></script>
<script src="js/jquery.chosen.min.js"></script>
<script src="js/avocado-custom.js"></script>
<script src="js/jqBootstrapValidation.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/myScript/js_stock.js"></script>

</html>